#if !defined(AFX_LOCALLISTVIEW_H__8FCE09E6_C20E_4492_916E_0667A012B318__INCLUDED_)
#define AFX_LOCALLISTVIEW_H__8FCE09E6_C20E_4492_916E_0667A012B318__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// LocalListview.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CLocalListview view

class CLocalListview : public CListView
{
protected:
	CLocalListview();           // protected constructor used by dynamic creation
	DECLARE_DYNCREATE(CLocalListview)

// Attributes
public:
	
// Operations
public:
	void Execute(CString csName);
	void UpOneFolder();
	void EnterFolder(CString csName);
	CString GetCurDir() { return m_csCurDir; };

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CLocalListview)
	public:
	virtual void OnInitialUpdate();
	protected:
	virtual void OnDraw(CDC* pDC);      // overridden to draw this view
	//}}AFX_VIRTUAL

// Implementation
protected:
	virtual ~CLocalListview();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

	// Generated message map functions
protected:
	//{{AFX_MSG(CLocalListview)
	afx_msg void OnDblclk(NMHDR* pNMHDR, LRESULT* pResult);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()

private:
	void ListDir(CString csDir);
	void GetFileInfo(CString &fileName, SHFILEINFO& shFi);
	CString m_csCurDir;
};

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_LOCALLISTVIEW_H__8FCE09E6_C20E_4492_916E_0667A012B318__INCLUDED_)
